package com.shjzit.loglib.utils;

import android.util.Log;

import com.shjzit.loglib.LogUtils;

/**
 * User:zhouxc
 * Date:2022/9/13
 * Time:09:16
 */
public class PrintLog {
    private static String TAG = "PrintLog";

    public static void print_i(String log) {
        if (LogUtils.getInstance().getListener().isShowLog())
            Log.i(TAG, "print_i: " + log);
    }

    public static void print_e(String log) {
        if (LogUtils.getInstance().getListener().isShowLog())
            Log.e(TAG, "print_i: " + log);
    }

    public static void print_d(String log) {
        if (LogUtils.getInstance().getListener().isShowLog())
            Log.d(TAG, "print_i: " + log);
    }

}
